projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4d894
)
babl: rearrange BablModel struct
author
Øyvind Kolås
<pippin@gimp.org>
Wed, 4 Oct 2017 14:47:39 +0000
(16:47 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Wed, 4 Oct 2017 14:47:41 +0000
(16:47 +0200)
Babl is doing casting that relies on BablFormat / BablModel having the same
layout for shared members.
babl/babl-model.h
patch
|
blob
|
history
diff --git
a/babl/babl-model.h
b/babl/babl-model.h
index 96ff903633172b4a2676e082c0cb1cafbca60643..0862379380ac065160c397b3de1a374b6bd285ff 100644
(file)
--- a/
babl/babl-model.h
+++ b/
babl/babl-model.h
@@
-30,8
+30,8
@@
typedef struct
BablType **type; /*< must be doubles,
used here for convenience in code */
void *data; /* user-data, used for palette */
- void *model; /* back pointer to model with sRGB space */
const Babl *space;
+ void *model; /* back pointer to model with sRGB space */
} BablModel;
#endif